package com.yiyahui.project.erp.mapper;

import java.util.List;

import com.yiyahui.project.erp.domain.YiyaOperationLog;

/**
 * 操作日志Mapper接口
 * 
 * @author yiyahui
 * @date 2020-05-25
 */
public interface YiyaOperationLogMapper 
{
    /**
     * 查询操作日志
     * 
     * @param id 操作日志ID
     * @return 操作日志
     */
    public YiyaOperationLog selectYiyaOperationLogById(Long id);

    /**
     * 查询操作日志列表
     * 
     * @param yiyaOperationLog 操作日志
     * @return 操作日志集合
     */
    public List<YiyaOperationLog> selectYiyaOperationLogList(YiyaOperationLog yiyaOperationLog);

    /**
     * 新增操作日志
     * 
     * @param yiyaOperationLog 操作日志
     * @return 结果
     */
    public int insertYiyaOperationLog(YiyaOperationLog yiyaOperationLog);

    /**
     * 修改操作日志
     * 
     * @param yiyaOperationLog 操作日志
     * @return 结果
     */
    public int updateYiyaOperationLog(YiyaOperationLog yiyaOperationLog);

    /**
     * 删除操作日志
     * 
     * @param id 操作日志ID
     * @return 结果
     */
    public int deleteYiyaOperationLogById(Long id);

    /**
     * 批量删除操作日志
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteYiyaOperationLogByIds(Long[] ids);
}
